import request from '@/utils/request'

//列表 
export function list(data) {
    return request({
      url: '/enterpriseSample/list',
      method: 'get',
      params: data
    })
  }
//新增
export function create(data) {
  return request({
    url: '/enterpriseSample/create',
    method: 'post',
    data
  })
}

//修改
export function update(data) {
    return request({
      url: '/enterpriseSample/update',
      method: 'post',
      data
    })
  }

//删除
export function Delete(data) {
    return request({
      url: `/enterpriseSample/delete/${data.fsampleno}`,
      method: 'delete',
    })
  }